GtkListBox: Make reseparate a no-op for hidden lists
authorAlexander Larsson <alexl@redhat.com>
Tue, 11 Jun 2013 14:04:58 +0000 (16:04 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 13 Jun 2013 10:17:07 +0000 (12:17 +0200)
commit1eb729dcd91c7e490d669dcb0e5f574c4e966003
treebba7b33284d632403d56eda499fa821040391f97
parentcbf294b27ec64a9c10b871888fcd6c5d694979d2
GtkListBox: Make reseparate a no-op for hidden lists

We already take care to not track headers when the listbox is hidden,
because that can be very expensive during creation, so we might as
well skip reseparate() too. The only time we don't want to skip it
is when we're about to show the list.
gtk/gtklistbox.c